<?php use_stylesheets_for_form($form) ?>
<?php use_javascripts_for_form($form) ?>

<?php echo form_tag_for($form, '@picture') ?>

     <table width="600" border="0" align="center" cellpadding="0" cellspacing="0" class="uppics">
          <tr>
            <td height="50" colspan="2" style="color:#6c6c6c;">注：每张照片大小在2MB以内，若有问题请联系客服人员。</td>
          </tr>
          <tr><?php echo $form->renderHiddenFields(false) ?>
		  <?php echo $form->renderGlobalErrors() ?>

            <td width="82" height="40"><span>选择照片：</span></td>

<?php echo $form['contestant_id']->render(array('value' =>$cid,'type' => 'hidden')) ?>
<?php echo $form['thumb']->render(array('value' =>'no_image.gif','type' => 'hidden')) ?>
            <td width="518"><?php echo $form['picture']->render(array('class' =>'uppic_input')) ?><?php echo $form['picture']->renderError() ?></td>
          </tr>

          <tr>
            <td height="60" colspan="2">
              <input type="image" name="imageField" id="imageField" src="/images/tj_btn.gif" style="margin-left:150PX;"/>
            </td>
          </tr>
    </table>
</form>